package com.shop.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (Image)实体类
 *
 * @author makejava
 * @since 2020-06-09 16:20:44
 */
public class Image implements Serializable {
    private static final long serialVersionUID = 848079610493315124L;

    private Integer id;//主键
    private String imgsrc;//图片链接地址
    private String background;//背景色
    private Integer type;//0:轮播图，1:广告
    private String url;//链接地址
    private Date timeon;//开始时间
    private Integer status;//状态 0：上线 1：下线
    private String imgname;//图片名称
    private String src;//上传文件

    public String getSrc() {
        return src;
    }

    public void setSrc(String src) {
        this.src = src;
    }

    public Date getTimeon() {
        return timeon;
    }

    public void setTimeon(Date timeon) {
        this.timeon = timeon;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getImgname() {
        return imgname;
    }

    public void setImgname(String imgname) {
        this.imgname = imgname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImgsrc() {
        return imgsrc;
    }

    public void setImgsrc(String imgsrc) {
        this.imgsrc = imgsrc;
    }

    public String getBackground() {
        return background;
    }

    public void setBackground(String background) {
        this.background = background;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

}